/** 全局自定义样式 */
html {
  height: 100%;
  box-sizing: border-box;
}
body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: PingFang SC, Arial, Microsoft YaHei, sans-serif;
}
#app {
  height: 100%;
}
.gs-bg-1, .gs-bg-2, .gs-bg-3{
  background: none!important;
  position: relative;
  z-index: 2;
}
.gs-bg-1:after, .gs-bg-2:after, .gs-bg-3:after{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: inherit;
}
.gs-bg-1:after{
  //background: rgba(255, 255, 255, 0.2);
  //backdrop-filter: blur(5px);
  background: hsla(212,92%,14%,0.7)!important;
  backdrop-filter: blur(10px);
  transform: translateZ(0);
}
.gs-bg-2:after{
  //background: rgba(129, 129, 129, 0.2);
  //backdrop-filter: blur(15px);
  background: hsla(212,92%,14%,0.7)!important;
  backdrop-filter: blur(10px);
  transform: translateZ(0);
}
.gs-bg-3:after{
  background: hsla(212,92%,14%,0.7)!important;
  backdrop-filter: blur(10px);
  transform: translateZ(0);
}
//滚动条的宽度
::-webkit-scrollbar {
  width: 6px;
  height: 8px;
}
//滚动条的滑块
::-webkit-scrollbar-thumb {
  background-color: #DCDFE6;
  border-radius: 10px;
}

label {
  font-weight: 600;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
  outline: none;
}
div:focus {
  outline: none;
}
.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}
.app-container {
  padding: 24px;
  min-height: 100%;
  //background-color: #f0f2f5;
}
.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}
/** 基础通用 **/
@for $i from 0 through 30 {
  .pd-#{$i} {
    padding: 1px * $i;
  }
  .pa-#{$i} {
    padding-left: 1px * $i;
    padding-right: 1px * $i;
  }
  .pl-#{$i} {
    padding-left: 1px * $i;
  }
  .pr-#{$i} {
    padding-right: 1px * $i;
  }
  .pv-#{$i} {
    padding-top: 1px * $i;
    padding-bottom: 1px * $i;
  }
  .pt-#{$i} {
    padding-top: 1px * $i;
  }
  .pb-#{$i} {
    padding-bottom: 1px * $i;
  }
}

@for $i from 0 through 30 {
  .mg-#{$i} {
    margin: 1px * $i;
  }
  .ma-#{$i} {
    margin-left: 1px * $i;
    margin-right: 1px * $i;
  }
  .ml-#{$i} {
    margin-left: 1px * $i;
  }
  .mr-#{$i} {
    margin-right: 1px * $i;
  }
  .mv-#{$i} {
    margin-top: 1px * $i;
    margin-bottom: 1px * $i;
  }
  .mt-#{$i} {
    margin-top: 1px * $i;
  }
  .mb-#{$i} {
    margin-bottom: 1px * $i;
  }
}

//修复edge浏览器弹窗错位的问题
.el-popup-parent--hidden {
  overflow: auto !important;
  padding-right: 0 !important;
}

.vue-treeselect {
  line-height: 1.5;
  .vue-treeselect__multi-value {
    max-height: 65px;
    overflow: auto;
  }
}
/** 弹出窗相关样式 */
.el-dialog {
  display: flex;
  flex-direction: column;
  max-height: 98%;
  max-width: 100%;
  width: 60%;
  top: 50%;
  left: 50%;
  margin: 0 !important;
  transform: translate(-50%, -50%);
  > .el-dialog__header {
    padding: 15px;
    border-bottom: 1px solid #ebeef5;
  }
  > .el-dialog__body {
    flex: 1;
    padding: 15px;
    overflow: auto;
  }
  > .el-dialog__footer {
    padding: 10px 15px;
    border-top: 1px solid #ebeef5;
  }
}

.el-message-box__wrapper {
  overflow-y: auto;
}

/**通知窗样式 */
.el-notification__group {
  width: 100%;
  margin: 0;
  .el-notification__title {
    padding-left: 13px;
    margin-bottom: 10px;
    line-height: 25px;
    margin-top: -1px;
  }
  .el-notification__content {
    padding: 0 13px;
    max-height: 200px;
    overflow-y: auto;
    p {
      word-wrap: break-word;
    }
  }
}

/** 表格相关样式 */
.el-table {
  //表头样式
  .el-table__header-wrapper th,
  .el-table__fixed-header-wrapper th {
    word-break: break-word;
    background-color: #f5f7fa;
    color: #515a6e;
  }
  //表中文本按钮去内边距
  .el-table__row {
    .el-button--text {
      padding: 0;
      color: #1890FF;
    }
  }
  //因为上面的样式，被禁止的按钮也是蓝色
  .el-button.is-disabled.el-button--text {
    color: #c0c4cc;
  }
  //表头与内容列对不齐的问题处理
  th.gutter {
    display: table-cell !important;
  }
}
.el-table.el-table--scrollable-y {
  .has-gutter > tr > th.gutter {
    width: 10px !important;
  }
}
//.el-table th{
//  &:not(.is-hidden):not(.gutter):last-child{
//    right:-1px;
//    border-right-width: 2px;
//  }
//}
//.el-table__row{
//  td:not(.is-hidden):last-child{
//    right:-1px;
//    border-right-width: 2px;
//  }
//}
.pagination-container {
  background: #fff;
  padding: 10px 0;
  text-align: right;
}
/** 表单组件样式 **/
.el-form {
  .el-select,
  .el-cascader,
  .el-input-number,
  .el-date-editor.el-input,
  .el-date-editor.el-range-editor {
    width: 100%;
  }
}
.el-form.el-form--inline:not(.el-form--label-top) {
  .el-form-item__content {
    min-width: 210px;
    margin-left: 0;
    .el-date-editor:not(.el-range-editor) {
      width: 210px;
    }
  }
}
.el-date-editor .el-range-separator {
  width: 24px;
}
.mini-divider {
  .el-divider--horizontal {
    margin-top: 10px;
  }
}
//.el-form-item--small .el-radio.is-bordered{
//  line-height: normal!important;
//}
//.el-radio--small.is-bordered {
//  padding: 6px 15px 0 10px;
//}
.el-form--label-top .el-form-item__label {
  padding: 0;
}
.el-dropdown-menu {
  a {
    display: block;
  }
}
.el-textarea .el-input__count {
  line-height: 1 !important;
}
.suffix-span {
  padding: 0 10px;
}

.single-upload {
  .el-upload-list:not(.ct-tech-ui).el-upload-list--text .el-upload-list__item {
    width: 300px;
  }
}

.el-upload.el-upload--text + .el-upload__tip {
  font-size: 12px;
  color: #888888;
  display: inline;
  margin-top: 0;
  margin-left: 20px;
}
.el-upload-list:not(.ct-tech-ui).el-upload-list--text {
  .el-upload-list__item {
    width: 32%;
    padding: 5px 10px;
    margin-right: 1%;
    display: inline-block;
    box-shadow: 1px 1px 2px 1px #dddddd;
    .el-progress {
      position: absolute;
      top: 28px;
      left: 0;
      right: 0;
      width: 100%;
    }
  }
}
/** 卡片组件样式 **/
.el-card__header {
  padding: 15px;
}
.el-card__body {
  padding: 15px;
}
.box-card {
  margin-bottom: 10px;
}
/** 树组件样式 **/
.el-tree-node__content > .el-checkbox {
  margin-right: 8px;
}
// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
  display: inline-flex !important;
}
.dropdown-button {
  .el-dropdown-menu__item {
    padding: 0;
    button {
      padding-left: 15px;
      padding-right: 15px;
      width: 120px;
      text-align: left;
    }
  }
}

/* 多选 */
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}
/* 多选下拉 */
.el-select__tags {
  .el-tag.el-tag--info {
    background-color: #f0f0f0;
    color: #888888;
    .el-tag__close.el-icon-close {
      right: -4px;
    }
  }
}

/** 抽屉自定义样式 */
.dialog-drawer {
  .el-drawer__header {
    padding: 10px 20px;
    margin: 0;
    border-bottom: 1px solid #efefef;
  }
  .el-drawer__body {
    overflow-y: auto;
  }
}

.el-message-box.notice-dialog {
  width: auto;
  max-width: 60%;
  .el-message-box__header {
    padding: 25px 15px 10px;
  }
  .el-message-box__title {
    text-align: center;
  }
  .el-message-box__content {
    min-height: 300px;
    max-height: 600px;
    overflow-y: auto;
  }
}

//.el-divider--horizontal {
//  background-color:$--color-primary;
//  .el-divider__text {
//    color: $--color-primary;
//    font-weight: 600;
//  }
//}
/** 全局动画样式 */
/* fade */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.28s;
}

.fade-enter,
.fade-leave-active {
  opacity: 0;
}

/* fade-transform */
.fade-transform-leave-active,
.fade-transform-enter-active {
  transition: all 0.5s;
}

.fade-transform-enter {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(30px);
}

//.breadcrumb-enter-active,
//.breadcrumb-leave-active {
//  transition: all .5s;
//}
//
//.breadcrumb-enter,
//.breadcrumb-leave-active {
//  opacity: 0;
//  transform: translateX(20px);
//}
//
//.breadcrumb-move {
//  transition: all .5s;
//}
//
//.breadcrumb-leave-active {
//  position: absolute;
//}
/* 扩展样式 */
.custom-hr {
  margin: 0 0 15px;
  background-color: #f0f0f0;
  border: none;
  height: 1px;
}

.table-tool-bar {
  background-color: #f8f8f9;
  padding: 10px;
  border: 1px solid #ebeef5;
  border-bottom: none;
}
.iframe-full {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border: none;
}
.shadow-none {
  box-shadow: none !important;
}
.shadow-sm {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04) !important;
}
.shadow {
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1) !important;
}
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
.shadow-xx {
  box-shadow: 4px 4px 40px rgba(0, 0, 0, 0.05) !important;
}

.radius-none {
  border-radius: 0 !important;
}
.radius-sm {
  border-radius: 2px !important;
}
.radius {
  border-radius: 4px !important;
}
.radius-lg {
  border-radius: 30px !important;
}
.el-table__body-wrapper{
  position: static !important;
}
.el-table__empty-block {
  height: 150px !important;
}
.el-table__empty-text {
  position: absolute !important;
  left: 0 !important;
  top: 40px !important;
  width: 100% !important;
  height: 150px;
  line-height: 200px !important;
  color: rgba(0, 0, 0, 0.25);
  font-size: 14px;
}
.el-table__empty-text:before {
  width: 64px;
  height: 41px;
  margin: 40px 0 0 -6px;
  content: " ";
  position: absolute;
  background: url("../image/svg/empty.svg") no-repeat;
}

.form-tips {
  font-size: 12px;
  margin: 0;
  padding: 0;
  color: #e6a23c;
  line-height: 1.5;
  p {
    margin: 0;
  }
}
.search-fold {
  max-height: 150px;
  overflow: hidden;
}

.id-card-upload {
  white-space: nowrap;
  .el-upload--picture-card {
    width: 332px;
    height: 204px;
  }
  .el-upload-list--picture-card {
    .el-upload-list__item {
      width: 332px;
      height: 204px;
      text-align: center;
    }
    .el-upload-list__item-thumbnail {
      width: auto;
      height: auto;
      max-height: 100%;
      max-width: 100%;
    }
  }
}

.small-treeselect {
  .vue-treeselect__control {
    height: 32px;
    .vue-treeselect__value-container {
      .vue-treeselect__placeholder,
      .vue-treeselect__single-value {
        line-height: 32px;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 13px;
      }
    }
  }
}
.notice-banner {
  .el-upload--picture-card {
    height: 160px;
    width: 345px;
  }
  .el-upload-list--picture-card {
    .el-upload-list__item {
      height: 160px;
      width: 345px;
      text-align: center;
    }
    .el-upload-list__item-thumbnail {
      width: auto;
      height: auto;
      max-height: 100%;
      max-width: 100%;
    }
  }
}
.business-logo-banner {
  .el-upload--picture-card {
    height: 50px;
    width: 60%;
  }
  .el-upload-list--picture-card {
    .el-upload-list__item {
      height: 50px;
      width: 60%;
      text-align: center;
    }
    .el-upload-list__item-thumbnail {
      width: auto;
      height: auto;
      max-height: 100%;
      max-width: 100%;
    }
  }
}
.large-popper {
  .el-cascader-menu__wrap {
    height: 300px;
  }
}

// 弹框
.el-dialog__wrapper {
  .el-dialog__title {
    font-size: 16px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
    line-height: 24px;
    font-weight: bold;
  }

  .el-dialog__body {
    .el-form-item__label {
      font-size: 14px;
      font-weight: 400;
      color: #606266;
    }
  }
}
// vueTree common style
.vue-treeselect__placeholder {
  color: #c0c4cc;
}
.vue-treeselect__label {
  font-weight: normal;
  font-size: 14px;
  color: #606266;
}
.vue-treeselect--disabled .vue-treeselect__control {
  background-color: #f5f7fa !important;
  border-color: #e4e7ed;
  color: #c0c4cc;
  cursor: not-allowed;
}
.vue-treeselect--disabled .vue-treeselect__single-value {
  color: #c0c4cc;
}
.vue-treeselect__placeholder,
.vue-treeselect__single-value {
  font-size: 14px;
}

// huasu errorTip color
.hserror {
  background-color: #deedfc !important;
  border-color: #409ffe !important;
  .el-icon-error {
    color: #409ffe !important;
  }
  .el-message__content {
    color: #333333 !important;
  }
}
.hsinfo {
  background-color: #deedfc !important;
  border-color: #409ffe !important;
  .el-icon-info {
    color: #409ffe !important;
  }
  .el-message__content {
    color: #666666 !important;
  }
}
.el-table__fixed-right {
  height: auto !important;
  bottom: 0px !important;
}
.warnTime .el-picker-panel__footer .el-button--text{
  display: none;
}
.cesium-pop-wrap {
  background: transparent!important;
}
